home *** CD-ROM | disk | FTP | other *** search
- on clickButton whichOne, whichFrame
- puppetSound("Click")
- set the locV of sprite 20 to the locV of sprite whichOne
- set the castNum of sprite 21 to the number of cast (whichFrame & "," & whichOne)
- set the castNum of sprite 22 to the number of cast ("t" & whichFrame & "," & whichOne)
- if whichFrame = 1 then
- if whichOne = 1 then
- set the locV of sprite 22 to 286
- else
- set the locV of sprite 22 to 336
- end if
- end if
- updateStage()
- end
-